﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevComponents.DotNetBar;
using System.Drawing;
namespace LanAnh
{
    public static class Status
    {
        public static LabelItem lblStatus = null;
        public static void Init()
        {
            lblStatus.ForeColor = Color.White;
            lblStatus.Text = "Khởi tạo giao diện.....";
        }
        public static void Process()
        {
            lblStatus.ForeColor = Color.White;
            lblStatus.Text = "Đang xử lý dữ liệu.....";
        }
        public static void Complete()
        {
            lblStatus.ForeColor = Color.White;
            lblStatus.Text = "Hoàn thành.";
        }
        public static void TrangThai(String sTrangThai)
        {
            lblStatus.ForeColor = Color.White;
            lblStatus.Text = sTrangThai;
        }
        public static void ThongBaoLoi(String sLoi)
        {
            lblStatus.ForeColor = Color.Red;
            lblStatus.Text = sLoi;
        }
    }
}
